package com.mail.manager.modular.service.portal;

import com.mail.manager.common.node.ZTreeNode;
import com.mail.manager.common.service.BaseService;
import com.mail.manager.core.datascope.DataScope;
import com.mail.manager.modular.model.Product;
import com.mail.manager.modular.model.ProductCategory;

import java.util.List;
import java.util.Map;

/**
 * 创建人： Shi Heng
 * 创建时间：2018-04-03 19:03
 * QQ：374696376
 * Description：
 */
public interface IProductService extends BaseService<Product>{

    List<Map<String, Object>> list(String condition);

    boolean insert(Product product);

    List<ZTreeNode> tree();

    List<Map<String, Object>> selectProducts(String title,String beginTime,String endTime,Integer product_category_id);
}
